package cn.com.b2office.domain;

import java.io.Serializable;

/**
 * @author wangtaoupc@gmail.com
 * @hibernate.class table="sequence" lazy="false"
 */
public class Sequence implements Serializable {

	private static final long serialVersionUID = 5343673023988572487L;

	private String name = null;

	private int nextId = 0;

	/**
	 * @return return the name
	 * @hibernate.id column="name" generator-class="assigned"
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return nextId
	 * @hibernate.property column="nextId" type="java.lang.Integer"
	 */
	public int getNextId() {
		return nextId;
	}

	public void setNextId(int nextId) {
		this.nextId = nextId;
	}

}
